#include "StdAfx.h"
#include "SmartWnd.h"


CSmartWnd::CSmartWnd(void)
{
}

CSmartWnd::~CSmartWnd(void)
{
}

BOOL CSmartWnd::Create( LPCTSTR lpszClassName,LPCTSTR lpszWindowName, DWORD dwStyle,const RECT& rect,CWnd* pParentWnd, UINT nID,CCreateContext* pContext /*= NULL*/ )
{
	m_rectTracker.m_rect = rect;
	m_rectTracker.m_nStyle = CRectTracker::hatchedBorder|CRectTracker::resizeOutside;
	m_rectTracker.m_nHandleSize = 6;
	return m_Wnd.Create(lpszClassName,lpszWindowName,dwStyle,rect,pParentWnd,nID,pContext);
}

void CSmartWnd::DrawTracker( CDC *pDC)
{	
	m_rectTracker.Draw(pDC);
}
